package com.yami.shop.service;

import com.yami.shop.bean.app.dto.CouponOrderDto;
import com.yami.shop.bean.dto.TtlCoupon;
import com.yami.shop.bean.model.Coupon;

import java.util.List;

public interface CouponService {
    void insertCoupon(Coupon coupon);

    List<Coupon> getAllCoupon();

    List<Coupon> getValCoupon(String userId);

    Coupon getCouponById(Long couponId);
    List<Coupon> getUserCoupon(String userId);

    List<TtlCoupon> getTtlCoupon(String userId);

    List<CouponOrderDto> getCouponOrderDto(String userId);

    CouponOrderDto getCouponOrderDtoByCouponId(Long couponId);
    void changeCouponStatus(Long couponId, Boolean status);
}
